//
// Created by HP on 2025/11/19.
//

#ifndef FLIGHTSERVER_STATIONSPOINTS_H
#define FLIGHTSERVER_STATIONSPOINTS_H

#include "Model.h"
#include <string>

// 车站检票口 Or 机场登机口
class StationsPoint : public Model{
    std::string id;
    std::string name;
    std::string station_id;
    std::string createdAt;
public:
    StationsPoint();

    void bind(const std::string& key, const std::string& value);

    bool save();
    
    // Getter methods
    std::string getId() const { return id; }
    std::string getName() const { return name; }
    std::string getStationId() const { return station_id; }
    std::string getCreatedAt() const { return createdAt; }
    
    // Setter methods
    void setId(const std::string& newId) { id = newId; }
    void setName(const std::string& newName) { name = newName; }
    void setStationId(const std::string& newStationId) { station_id = newStationId; }
};


#endif //FLIGHTSERVER_STATIONSPOINTS_H
